package com.maxatime.thread;

/**
 * @author Mr.Zhao
 * @title:
 * @projectName phoenix
 * @description: TODO
 * @date 2021/8/23 9:16
 */
public class ThreadDemoTest {
    public static void main(String[] args) {
        ThreadDemo threadDemo = new ThreadDemo();
        Thread thread = new Thread(threadDemo);
        thread.setName("张三");
        Thread thread1 = new Thread(threadDemo);
        thread1.setName("李四");


        thread.start();
        thread1.start();

    }
}
